package mybatis.service;

import mybatis.bean.User;
import mybatis.dao.IndexDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IndexServiceImpl implements IndexService {
    @Autowired
    private IndexDao indexDao;
    @Override
    public User login(String id) {
        return indexDao.Login(id);
    }
}
